package xml1;

import java.util.ArrayList;

import javax.swing.text.html.HTML.Attribute;

public class TagXML extends DeleteTag {
	public TagXML father = null;
	public ArrayList<TagXML> T1 = new ArrayList<TagXML> ();
	public ArrayList<Attribute> T2 = new ArrayList<Attribute> ();
	public String name = null;
	public String value = null;
	public AddAttribute atribAdder = new AddAttribute();
	public DeleteAttribute atribDeleter = new DeleteAttribute();
	public AddTag tagAdder = new AddTag ();
	public DeleteTag tagDelete = new DeleteTag ();
	
	public void setName(String name) {
		this.name = name;
	}
	public ArrayList<TagXML> getTaguri() {
		return T1;
	}
	public ArrayList<Attribute> getAttribute() {
		return T2;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}

	public TagXML() {
		super();
	}
	public TagXML(TagXML Father) {
		this.father = Father;
	}
	public TagXML(TagXML Father, String name, String value) {
		this.father = Father;
		this.name = name;
		this.value = value;
	}
	public TagXML(TagXML Father, String name) {
		this.father = Father;
		this.name = name;
	}
	public TagXML(String name) {
		this.name = name;
	}
	public TagXML(String name, String value) {
		this.name = name;
		this.value = value;
	}
	public void addAttrib (Attribute a) {
		
	}
	public void deleteAttrib (Attribute a, TagXML t) {
		
	}
	public void addSonAttrib (Attribute a, TagXML t) {
		
	}
	public void deleteSonAttrib (Attribute a, TagXML t) {
		
	}
	public void addTag (TagXML t) {
		
	}
	public void deleteTag (TagXML t) {
		
	}
}
